//
//  Global.h
//  News
//
//  Created by Han on 15/7/3.
//  Copyright (c) 2015年 IPinglun. All rights reserved.
//

#import <Foundation/Foundation.h>

// SD库
#import "SDWebImageManager.h"
#import "UIImageView+WebCache.h"

// Masonry 库
#define MAS_SHORTHAND
#define MAS_SHORTHAND_GLOBALS
#import "Masonry.h"





#define UIColorFromRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]

#define MAIN_SCREEN_HEIGHT [[UIScreen mainScreen] bounds].size.height
#define MAIN_SCREEN_WIDTH [[UIScreen mainScreen] bounds].size.width

#define MAIN_COLOR UIColorFromRGB(0xC53A1D)
#define BG_COLOR UIColorFromRGB(0xD8D8D8)
#define NAV_COLOR UIColorFromRGB(0xF0F0F0)



@interface Global : NSObject

@end
